-- GENERATED SPELL FOR [Blackwood Tracker] --


function spell0_11713(pUnit, Event) --@Faerie Fire,n/a--
pUnit:FullCastSpellOnTarget(6950,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11713', 2000, 1)
end

function spell1_11713(pUnit, Event) --@Thrash,Self--
pUnit:FullCastSpellOnTarget(3391,pUnit)
pUnit:RegisterEvent('Sorts_11713', 562, 1)
end

function Sorts_11713(pUnit, Event)
local choix_sorts_11713 = math.random(0, 1)
if choix_sorts_11713 == 0 then
pUnit:RegisterEvent('spell0_11713', 1, 1)
end
if choix_sorts_11713 == 1 then
pUnit:RegisterEvent('spell1_11713', 1, 1)
end
end

function mob11713_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11713', math.random(1500, 3000), 1)
end

function mob11713_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11713_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11713_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11713, 1, 'mob11713_Action')
RegisterUnitEvent(11713, 2, 'mob11713_Leave')
RegisterUnitEvent(11713, 3, 'mob11713_Kill')
RegisterUnitEvent(11713, 4, 'mob11713_Die')
